package com.reliable.service.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 同步位点对象 reliable_sync_watermark
 *
 * @author ruoyi
 * @date 2025-11-10
 */
@Data
@ApiModel(value = "同步位点对象")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ReliableSyncWatermark extends BaseEntitys {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.NONE)
    @ApiModelProperty(value = "主键", position = 0)
    private Integer id = 1;

    /**
     * 最后处理时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
    @ApiModelProperty(value = "最后处理时间", position = 1)
    private Date lastProcessedAt;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
    @ApiModelProperty(value = "更新时间", position = 2)
    private Date updatedAt;

}